package com.shumatz;

import java.util.Date;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;
import java.util.*;


import com.google.appengine.api.datastore.Key;
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class EmpMas {
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Key empKey;
	@Persistent
	private String empName;


	@Persistent
	private String bdate;
	@Persistent
	private String sex;
	@Persistent
	private String depart;
	@Persistent
	private List<String> skills;
	@Persistent
	private String section;
	@Persistent
	private Date date;

	public EmpMas(Key empKey, String empName, String depart, String section, Date date) {
		// TODO Auto-generated constructor stub
		this.empKey = empKey;
		this.empName = empName;
		this.depart = depart;
		this.section = section;
		this.date = date;
	}
	
	public EmpMas(Key empKey, String empName, String bdate, String sex,
			String depart, List<String> skills, String section, Date date) {
		// TODO Auto-generated constructor stub
		this.empKey = empKey;
		this.empName = empName;
		this.bdate = bdate;
		this.sex = sex;
		this.depart = depart;
		this.skills = skills;
		this.section = section;
		this.date = date;
	}
	
	public Key getEmpKey() {
		return empKey;
	}

	public void setEmpKey(Key empKey) {
		this.empKey = empKey;
	}

	public String getEmpName() {
		return empName;
	}

	public void setEmpName(String empName) {
		this.empName = empName;
	}

	public String getDepart() {
		return depart;
	}

	public void setDepart(String depart) {
		this.depart = depart;
	}

	public String getSection() {
		return section;
	}

	public void setSection(String section) {
		this.section = section;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}
	public String getBdate() {
		return bdate;
	}

	public void setBdate(String bdate) {
		this.bdate = bdate;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public List<String> getSkills() {
		return skills;
	}

	public void setSkills(List<String> skills) {
		this.skills = skills;
	}
	

}
